import * as process from "process";
// const prod = {
//     webSocketServer: {
//         host: "localhost",
//         port: 8081,
//         path: "/peerServerEndpoint"
//     },
//     peerServer: {
//         host: "localhost",
//         port: 9000,
//         path: "/"
//     }
// }
// const dev = {
//     webSocketServer: {
//         host: "localhost",
//         port: 8081,
//         path: "/peerServerEndpoint"
//     },
//     peerServer: {
//         host: "localhost",
//         port: 9000,
//         path: "/"
//     }
// }
const dev = {
    webSocketServer: {
        host: "localhost",
        port: 9999,
        path: "/TheyChat/NoneUser"
    },
    peerServer: {
        host: "localhost",
        port: 9000,
        path: "/"
    }
}
const prod = {
    webSocketServer: {
        host: "localhost",
        port: 9999,
        path: "/TheyChat/NoneUser"
    },
    peerServer: {
        host: "localhost",
        port: 9000,
        path: "/"
    }
}
const getServer = () => {
    if (process.env.NODE_ENV === 'development')
        return dev
    else return prod
}
const server = getServer()
const isNoServer = false
export {
    server, isNoServer
};